import request from '@/utils/request'

// 查询站内消息列表
export function listBasicInStationMessage(query) {
  return request({
    url: '/basic/system/basicInStationMessage/list',
    method: 'get',
    params: query
  })
}

// 查询站内消息详细
export function getBasicInStationMessage(inStationMessageId) {
  return request({
    url: '/basic/system/basicInStationMessage/' + inStationMessageId,
    method: 'get'
  })
}

// 新增站内消息
export function addBasicInStationMessage(data) {
  return request({
    url: '/basic/system/basicInStationMessage',
    method: 'post',
    data: data
  })
}

// 修改站内消息
export function updateBasicInStationMessage(data) {
  return request({
    url: '/basic/system/basicInStationMessage',
    method: 'put',
    data: data
  })
}

// 删除站内消息
export function delBasicInStationMessage(inStationMessageId) {
  return request({
    url: '/basic/system/basicInStationMessage/' + inStationMessageId,
    method: 'delete'
  })
}
